package com.daxt.service;

import com.daxt.common.result.Result;
import com.daxt.model.service.archives.result.ArchivesDetails;
import com.daxt.model.service.archives.result.ArchivesList;
import com.daxt.model.service.archives.vo.ArchivesDoc;
import com.daxt.model.service.base.result.UserInfo;
import com.daxt.model.service.use.vo.UseBorrowRecord;

import java.util.List;
import java.util.Map;

public interface UseBorrowService {

	/**
	 * 发起一个借阅流程
	 * @return
	 */
	Result<String> startBorrow(UseBorrowRecord apply);


	void buildArchives(List<UseBorrowRecord> list);

	int borrowNumByAuthTypeAndDocId(String authType,Long docId);






}
